Automattic\WCShipping\LabelPurchase\LabelPurchaseService S

Total Complexity 43
Dependencies 6
Dependents 5
Total lines 419
Lines of code 232
Logical lines of code 112
Comment lines 111
Methods 10
Properties 4

Methods 10

Method Rating Maintainability Complexity Lines of code
prepare_packages_for_purchase()
A
50 13 28
get_labels_meta_from_response()
A
41 8 57
purchase_labels()
A
38 6 80
refund_label()
S
55 5 19
get_labels()
S
57 2 18
update_user_meta()
S
66 3 8
store_selected_meta()
S
63 3 10
__construct()
S
71 1 6
get_status()
S
80 1 3
update_order_label()
S
79 1 3